package com.example;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<User,Long>{
	
    User findByPhone(String phone);
    List<User> findByCity(String city);
    User findByPhoneAndCity(String phone,String city);

}